# Add more folders to ship with the application, here

# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =

QT+= core gui declarative sql
symbian:TARGET.UID3 = 0xE566A9A0

contains(MEEGO_EDITION,harmattan): {
  MEEGO_VERSION_MAJOR     = 1
  MEEGO_VERSION_MINOR     = 2
  MEEGO_VERSION_PATCH     = 0
  MEEGO_EDITION           = harmattan
  DEFINES += MEEGO_EDITION_HARMATTAN
}
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF

# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices

# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=

# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
    shoplistcontrol.cpp
SOURCES += shoplistcontrol.cpp
SOURCES += shoplistobject.cpp
SOURCES += shoplistmodel.cpp
SOURCES += databaseconnect.cpp


OTHER_FILES += qml/MainPage.qml \
    qml/EmptyPage.qml
OTHER_FILES += qml/SettingsPage.qml
OTHER_FILES += qml/HelpPage.qml
OTHER_FILES += qml/CommonTools.qml
OTHER_FILES += qml/ListsPage.qml
OTHER_FILES += qml/ShopsPage.qml
OTHER_FILES += qml/TrackPage.qml
OTHER_FILES += qml/PageHeader.qml
OTHER_FILES += qml/main.qml
OTHER_FILES += SmartShopper.desktop
OTHER_FILES += SmartShopper.svg
OTHER_FILES += SmartShopper.png
OTHER_FILES += qtc_packaging/debian_harmattan/rules
OTHER_FILES += qtc_packaging/debian_harmattan/README
OTHER_FILES += qtc_packaging/debian_harmattan/copyright
OTHER_FILES += qtc_packaging/debian_harmattan/control
OTHER_FILES += qtc_packaging/debian_harmattan/compat
OTHER_FILES += qtc_packaging/debian_harmattan/changelog

#RESOURCES +=  res.qrc

# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()

# enable booster
CONFIG += qdeclarative-boostable
QMAKE_CXXFLAGS += -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
QMAKE_LFLAGS += -pie -rdynamic

INSTALLS += target qml
target.path = /opt/SmartShopper/bin
#target.path = /home/developer/SmartShopper
qml.path = /opt/SmartShopper/bin/qml
#qml.path = /home/developer/SmartShopper/qml
qml.files += qml/main.qml
qml.files += qml/MainPage.qml
qml.files += qml/ListsPage.qml
qml.files += qml/ShopsPage.qml
qml.files += qml/TrackPage.qml
qml.files += qml/PageHeader.qml
qml.files += qml/SettingsPage.qml
qml.files += qml/HelpPage.qml
qml.files += qml/CommonTools.qml

contains(MEEGO_EDITION,harmattan) {
    desktopfile.files = $${TARGET}.desktop
    desktopfile.path = /usr/share/applications
    INSTALLS += desktopfile
}

contains(MEEGO_EDITION,harmattan) {
    icon.files = smartshopper.png
    icon.path = /usr/share/icons/hicolor/64x64/apps
    INSTALLS += icon
}

HEADERS +=shoplistobject.h \
    shoplistcontrol.h
HEADERS +=shoplistcontrol.h
HEADERS +=shoplistmodel.h
HEADERS +=databaseconnect.h
















